package com.markerhub.exception.apiException;

import com.markerhub.constant.ApiExceptionCodes;
import com.markerhub.exception.ApiException;


/**
 * 授权异常类
 *
 * @author Ma Xiaofeng
 * @date : Created in 2021/11/23
 **/
public class AuthorizationException extends ApiException {
    public AuthorizationException() {
        super(ApiExceptionCodes.AUTHORIZATION_FAIL.getValue(),ApiExceptionCodes.AUTHORIZATION_FAIL.getDesc());
    }

    public AuthorizationException(String message) {
        super(ApiExceptionCodes.AUTHORIZATION_FAIL.getValue(),message );
    }
}
